fix some codeql warnings. (#663)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Tue, 26 Jan 2021 17:58:32 +0000 (10:58 -0700)
committerGitHub <noreply@github.com>
Tue, 26 Jan 2021 17:58:32 +0000 (10:58 -0700)
commit9fbf3e825561b54a332d19f48ab69908a58fada6
treea65634d4f3a601e61969a1e6ef12fe2bdb2cffac
parent4ca62049b32fa960953811dfe31b85be742528ee
fix some codeql warnings. (#663)

* fix some codeql warnings.

* use c++11 z length modifier in format strings with size_t format arguments.

* don't attempt to upload coverage if token is null or not set.

with the github action flow the CODACY_PROJECT_TOKEN is set and null
for foreign pull requests that don't have access to the secrets.

* double protect token
delgpl.cc
gtrnctr.cc
jeeps/gpslibusb.cc
jeeps/gpsusbcommon.cc
mtk_logger.cc
skytraq.cc
tools/ci_tokens
tools/travis_script_linux_coverage
util.cc
wbt-200.cc